package com.sky.service.userImpl;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    /**添加购物车*/
    void addCartById(ShoppingCartDTO shoppingCartDTO);
/**查看购物车*/
List<ShoppingCart> queryShoppingCart();
/**删除购物车中一个商品*/
    void deleteAShop(ShoppingCartDTO shoppingCartDTO);
/**清空购物车*/
    void cleanShoppingCart();
}
